kind: pipeline
type: docker
name: default

steps:
- name: build
  image: alpine
  commands:
  - echo 'test from Drone...!' > index.html

- name: push commit
  image: appleboy/drone-git-push
  settings:
    branch: main
    remote: git@codeberg.org:johndoe456/pages.git
    force: false
    commit: true
    commit_message: "Drone build ${DRONE_COMMIT_SHA:0:7}"
    author_name: "John Doe"
    author_email: "johndoe123@example.com"
    ssh_key:
      from_secret: ssh_key
